package router

import (
	"gitee.com/crack007/goose/gscore/web"
	"gitee.com/crack007/proxy/src/logserver/controller"
)

type LogServerRouter struct {
}

func Api(httpServer *web.HttpServer) {
	g := httpServer.Engine.Group("/")
	web.JsonMiddleware.Apply(g)
	g.GET("/log/list", web.Action[*controller.LogListDto](controller.LogController.List))
}
